package ps.guan.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import ps.guan.client.UserService;
import ps.guan.dao.custom.dao.read.UserReadMapper;
import ps.guan.pojo.User;


@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserReadMapper userReadMapper;

	@Override
	public User getUserById(Long userId) {
		User user = userReadMapper.selectByPrimaryKey(userId);
		return user;
	}

}
